﻿<%@ Page Title="主页" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>


    
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

<script type="text/javascript">
    function viewInfo(url) {
       // window.open(url);
        var dca = document.createElement("a");
        dca.setAttribute("href", url);
        dca.setAttribute("target", "_blank");
        document.body.appendChild(dca);
        dca.click();
    }
    </script>


</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <h2>
        欢迎使用 ASP.NET!
    </h2>
    <p>
        <rsweb:ReportViewer ID="RptView" runat="server"   Height="1890"  
        AsyncRendering="false" BackColor="#FFE0C0" BorderColor="WhiteSmoke" 
         Width="100%"  OnDrillthrough="RptView_Drillthrough">
        </rsweb:ReportViewer>
    </p>
</asp:Content>
